﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Orpheus.Analyzer
{
    public class TimeIntervalEqualityComparer: IEqualityComparer<TimeInterval>
    {
        public bool Equals(TimeInterval x, TimeInterval y)
        {
            return x.Start == y.Start && x.End == y.End;
        }

        public int GetHashCode(TimeInterval obj)
        {
            return obj.GetHashCode();
        }
    }
}
